﻿#include "CarNavMeshInterface.h"
#include "CarDebug.h"

EXPORT_API void SetLogCallback(LogFunction logFunction)
{
	CarDebug::instance.SetLogCallback(logFunction);
}

EXPORT_API void SetLogWarningCallback(LogFunction logFunction)
{
	CarDebug::instance.SetLogWarningCallback(logFunction);
}

EXPORT_API void SetLogErrorCallback(LogFunction logFunction)
{
	CarDebug::instance.SetLogErrorCallback(logFunction);
}

EXPORT_API void Test()
{
	CarDebug::instance.Log(L"LogTest method");
	CarDebug::instance.LogWarning(L"LogTest method");
	CarDebug::instance.LogError(L"LogTest method");
}

